﻿using System;
using static Example;

namespace helloCSharp
{
    class Program
    {
        static void Main(string[] args) {
        //    Program().test1_helloworld();
        //    Example.testStack();
            // Example.test_Point_Pair();
            // Example.test_point3d();
            // Example.test_pointstruct();
            // Example.test_comboBox();
            // Example.test_enums();
            // Example.testNullalbe();
            // Example.test_tuple();
            // Example.testReadOnlyField();
            // Example.testFunctionRefParam();
            // Example.testFunctionOutParam();
            // Example.testFunctionParamsKey();
            // Example.testLocalParams();
            // Example.testStaticEntity();
            // Example.testExpression();
            // Example.testOverloading();
            // Example.testEventHandler();
            // Example.testArray();
            // Example.testDelegate();
            // Example.testAsync();
            // Example.testAttribute();
            Example.testBankAccount();
        }

        public void test1_helloworld(){
            // Console.WriteLine("Hello World!");
            Console.WriteLine("\nWhat's your name?");
            var name = Console.ReadLine();
            var date = DateTime.Now;
            Console.WriteLine($"\nHello, {name}, on {date:d} at {date:t}!");
            Console.Write("\nPress any key to exit...\n");
            Console.ReadKey(true);
        }
    }
}
